import json

#使用json模块进行转化
data_dict = str({"name":"kkk","pwd":"None"})
json_data = {"name":"kkk","pwd":"Null"}

data1 = json.loads(data_dict)
print(data1)